<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Lant登录</title>
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
<link href="/lant/layui/css/layui.css" rel="stylesheet" type="text/css">
<link href="/lant/css/user/admin.css" rel="stylesheet" type="text/css">
<link href="/lant/css/user/login.css" rel="stylesheet" type="text/css">
</head>
<body>
  <div id="loginModel">
    <div class="layadmin-user-login layadmin-user-display-show" style="display: none;">
      <div class="layadmin-user-login-main">
        <div class="layadmin-user-login-box layadmin-user-login-header">
          <h2>Lant后台管理模板系统</h2>
        </div>
        <div class="layadmin-user-login-box layadmin-user-login-body layui-form">
          <div class="layui-form-item">
            <label class="layadmin-user-login-icon layui-icon layui-icon-username"></label>
            <input type="text" name="userName" placeholder="用户名" lay-verify="required" class="layui-input" v-model="userName"
              v-on:click="verifyUserName"
            >
          </div>
          <div class="layui-form-item">
            <label class="layadmin-user-login-icon layui-icon layui-icon-password"></label>
            <input type="password" name="password" placeholder="密码" lay-verify="required" class="layui-input" v-model="password">
          </div>
          <div class="layui-form-item">
            <div class="layui-row">
              <div class="layui-col-xs7">
                <label class="layadmin-user-login-icon layui-icon layui-icon-vercode"></label>
                <input type="text" name="vercode" placeholder="图形验证码" lay-verify="required" class="layui-input" v-model="vercode">
              </div>
              <div class="layui-col-xs5">
                <div style="margin-left: 10px;">
                  <a href="javascript:void(0);" title="点击更换验证码">
                    <img id="imgVerify" src="/lant/getVerify" class="layadmin-user-login-codeimg" v-on:click="getVerify">
                  </a>
                </div>
              </div>
            </div>
          </div>
          <div class="layui-form-item" style="margin-bottom: 20px;">
            <input type="checkbox" name="remember" id="remember" lay-skin="primary" title="记住密码" v-model="remember" v-on:click="rememberLogin">
            <a href="forget.html" class="layadmin-user-jump-change layadmin-link" style="margin-top: 7px;">忘记密码？</a>
          </div>
          <div class="layui-form-item">
            <button class="layui-btn layui-btn-fluid" lay-submit lay-filter="LAY-user-reg-submit" v-on:click="login">登 入</button>
          </div>
          <div class="layui-trans layui-form-item layadmin-user-login-other">
            <label>社交账号登入</label>
            <a href="javascript:;">
              <i class="layui-icon layui-icon-login-qq"></i>
            </a>
            <a href="javascript:;">
              <i class="layui-icon layui-icon-login-wechat"></i>
            </a>
            <a href="javascript:;">
              <i class="layui-icon layui-icon-login-weibo"></i>
            </a>
            <a href="/lant/page/register" class="layadmin-user-jump-change layadmin-link">注册帐号</a>
          </div>
        </div>
      </div>
      <div class="layui-trans layadmin-user-login-footer">
        <p>
          © 2020
          <a href="http://www.lant.com/" target="_blank">www.lant.com</a>
        </p>
      </div>
    </div>
  </div>
</body>
<script src="/lant/webjars/jquery/3.5.0/jquery.js"></script>
<script src="/lant/layui/layui.all.js"></script>
<script src="/lant/js/vue/vue.js"></script>
<script src="/lant/js/common/common.js"></script>
<script src="/lant/js/user/login.js"></script>
<script type="text/javascript">
  var loginVm = loginPage.VUE.InitPage();
  $(function() {
    var form = layui.form;
    form.render();
  });
</script>
</html>